package com.tjbklx1.pattern2.chap32.c01_command;

public class GzipReceiver implements IReceiver {
	// gzip的压缩算法
	public boolean compress(String source, String to) {
		System.out.println(source + " --> " + to + " GZIP压缩成功!");
		return true;
	}

	// gzip解压缩算法
	public boolean uncompress(String source, String to) {
		System.out.println(source + " --> " + to + " GZIP解压缩成功!");
		return true;
	}
}